package org.dromara.wms.domain;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serial;
import java.util.Date;

/**
 * 测试主从对象 wms_order_line
 * @author wenrui Su
 * @date 2024-04-24
 */
@Data
@TableName("wms_order_line")
public class WmsOrderLine {

  @Serial
  private static final long serialVersionUID = 1L;

  /**
   * 父主键
   */
  private Long id;

  /**
   * 子主键
   */
  @TableId(value = "line_id")
  private Long lineId;

  private Long productId;
  private String batchCode;
  private String measureUnit;
  private Double price;
  private Long quantity;
  private Long whId;
  private Long areaId;
  private Double totalMoney;
  private Double discountMoney;
  private Double costMoney;
  private Date expireDate;
}
